﻿using System.Windows;

namespace Plot.Primitives
{
    internal class PLine : PShape
    {
        public Point EndPoint { get; set; }

        public PLine(double x2, double y2) : base(x2, y2, 0d) { }

        public PLine(double x1, double y1, double x2, double y2)
            : base(x1, y1, 0d)
        {
            EndPoint = new Point(x2, y2);
        }
    }
}
